<?
include_once("../codelibrary/inc/variables.php");//Using variables.php for Database Connectivity
//include_once("session.php");
include_once("../codelibrary/inc/functions.php");
session_start();

$sess_Trail_ID = $_SESSION["sess_Trail_ID"];
if (!isset($sess_user_name) && ($sess_user_name==""))//only bracket amendment
{
	session_unset();
	session_destroy();
	header("location:login.php?logerr=register");
	die();
}
?>